package com.ruoyi.recycle.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@Accessors(chain = true)
public class AttractDataQueryDTO implements Serializable {
    private static final long serialVersionUID = -5034992902706811356L;
    @ApiModelProperty(name = "shopId", value = "引流平台ID,当查询引流平台数据时,需要传递")
    private Long shopId;
    @ApiModelProperty(name = "clientId", value = "客户ID，当查询引流达人数据时,需要传递")
    private Long clientId;

    @ApiModelProperty(name = "searchTimeBegin", value = "搜索开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date searchTimeBegin;

    @ApiModelProperty(name = "searchTimeEnd", value = "搜索终止时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date searchTimeEnd;

    @ApiModelProperty(name = "isMonth", value = "是否为月份统计,是为true,否为false")
    private Boolean isMonth = false;
}
